/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.visualjavafxgui.editor.visual.palette;

import java.io.IOException;
import org.netbeans.spi.palette.PaletteController;
import org.netbeans.spi.palette.PaletteFactory;
import org.openide.util.Exceptions;

/**
 *
 * @author psychollek
 */
public class PaletteCreator {

    public  static PaletteController createPallete(){
        try {
            return PaletteFactory.createPalette("VisualJavaFxPalette", new VJFxPaletteActions(), null, null);
        } catch (IOException ex) {
            Exceptions.printStackTrace(ex);
        }
        return null;
    }

}
